<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/include/taglibs.tag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/WEB-INF/jsp/include/indexBase.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>EastMelon の Blog</title>
</head>
<body>
	<%@ include file="/WEB-INF/jsp/index/header.jsp"%>
	<div class="body">
		<div class="header-height"></div>
		<div class="body-box">
			<div class="container">
				<div class="row clearfix">
					<div class="col-sm-9 column">
						<div class="content-box">
							<h3>
								<a href="<%=ctx%>/article/${a.id}.do">${a.title}</a> <span
									class="publishTime">${a.publishTime}</span>
							</h3>
							<div class="content">${a.content }</div>
						</div>
						</#list>
						<div class="pre-next">
							<c:choose>
								<c:when test="${!empty pre }">
									<div>
										<a href="<%=ctx %>/article/${pre.id}.do"> 上一篇:${pre.title}</a>
									</div>
								</c:when>
								<c:otherwise>
						上一篇:没有了
						</c:otherwise>
							</c:choose>
							<c:choose>
								<c:when test="${!empty next }">
									<div>
										<a href="<%=ctx %>/article/${next.id}.do">
											下一篇:${next.title}</a>
									</div>
								</c:when>
								<c:otherwise>
						下一篇:没有了
						</c:otherwise>
							</c:choose>
						</div>
					</div>
					<%@ include file="/WEB-INF/jsp/index/right-nav.jsp"%>
				</div>
			</div>
		</div>
	</div>
	<%@ include file="/WEB-INF/jsp/index/footer.jsp"%>
	<script>
		NProgress.start();
		setTimeout(function() {
			NProgress.done();
			$('.fade').removeClass('out');
		}, 1000);
	</script>
</body>
</html>